<ui:composition template="/pages/basic_page.xhtml"
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:nxl="http://nuxeo.org/nxforms/layout">
  <ui:param name="pageName" value="search/default" />
  <ui:param name="pageFlavor" value="#{themeActions.getCurrentFlavor(pageName)}" />

  <ui:define name="page title">
    <h:outputText value="#{nuxeoApplicationName} - #{messages['label.main.tab.search']}" />
  </ui:define>

  <ui:define name="basic body includes">
    <ui:include src="/incl/includes.xhtml" />
    <ui:include src="/search/incl/search_includes.xhtml" />
  </ui:define>

  <ui:define name="basic body">

    <ui:decorate template="/pages/header_footer_template.xhtml">
      <ui:define name="main content">
        <ui:include src="/incl/message_banner.xhtml"/>
        <nxl:layout value="#{currentDocument}" name="gridSearchLayout" mode="view" />
      </ui:define>
    </ui:decorate>

  </ui:define>

</ui:composition>